package BlogMybatis.blog.service;

import BlogMybatis.blog.pojo.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Brandt
 * @since 2020-06-07
 */
public interface CommentService extends IService<Comment> {

    //根据博客id查询评论列表
    List<Comment> listCommentByBlogId(Long blogId);

    //新增评论
    int saveComments(Comment comment);

}
